package com.wn.service.Impl;

import com.wn.dao.GoodsDao;
import com.wn.service.GoodsService;

public class GoodsServiceImpl implements GoodsService {
    private GoodsDao goodsDaoImpl;

    public GoodsServiceImpl() {
    }

    public GoodsServiceImpl(GoodsDao goodsDaoImpl) {
        this.goodsDaoImpl = goodsDaoImpl;
    }

    public GoodsDao getGoodsDaoImpl() {
        return goodsDaoImpl;
    }

    public void setGoodsDaoImpl(GoodsDao goodsDaoImpl) {
        this.goodsDaoImpl = goodsDaoImpl;
    }

    @Override
    public void add() {

    }

    @Override
    public void findById(int id) {
        goodsDaoImpl.findById(id);
    }
}
